.settings-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.file-input-group {
    display: flex;
    gap: 10px;
}

.file-input-group input[type="text"] {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.button.primary {
    background-color: #2ecc71;
}

.button.primary:hover {
    background-color: #27ae60;
}

.settings-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* 模态框遮罩 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.show {
    display: flex;
}

/* 提示弹窗样式 */
.modal {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal.show {
    transform: translateY(0);
    opacity: 1;
}

.modal-icon {
    text-align: center;
    font-size: 3em;
    margin-bottom: 15px;
}

.modal.success .modal-icon {
    color: #2ecc71;
}

.modal.error .modal-icon {
    color: #e74c3c;
}

.modal.warning .modal-icon {
    color: #f39c12;
}

.modal-content {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.1em;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-button {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h2 {
    color: #2c3e50;
    margin-top: 0;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group small {
    color: #7f8c8d;
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.button.primary {
    background-color: #3498db;
    color: white;
}

.button.primary:hover {
    background-color: #2980b9;
}

.button.secondary {
    background-color: #95a5a6;
    color: white;
}

.button.secondary:hover {
    background-color: #7f8c8d;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(200%);
    transition: transform 0.3s ease-in-out;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: #27ae60;
}

.notification.error {
    background-color: #e74c3c;
}

.modal-button.primary {
    background-color: #2ecc71;
    color: white;
}

.modal-button.primary:hover {
    background-color: #27ae60;
}

.modal.success .modal-button.primary {
    background-color: #2ecc71;
}

.modal.error .modal-button.primary {
    background-color: #e74c3c;
}

.modal.warning .modal-button.primary {
    background-color: #f39c12;
}